#include "../begonia.h"
#include "../bullet/returnbullet.h"
#include "boss_1_6.h"
#include "../base/scene.h"

boss_1_6::boss_1_6():boss(192.0,250.0,20.0,0.0,0.0,&f.head)
    {
    }
boss_1_6::boss_1_6(double tx,double ty,double tr,double tvx,double tvy,bullet *h):boss(tx,ty,tr,tvx,tvy,h)
    {
    }
    void boss_1_6::clone(bullet *h)
    {
        new boss_1_6(x,y,r,vx,vy,h);
    }
    bool boss_1_6::move()
    {
        if((int)t/4>(int)tlast/4)
        {
            new returningbullet(x,y,10.0,cos((double)((int)t/4))*1.5,sin((double)((int)t/4))*1.5,0.001,&f.head);
        }
        return true;
    }
